import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import { NConfigProvider } from 'naive-ui'
// import { zhCN, dateZhCN } from 'naive-ui'
//  按需全局加载 naive ui 组件
import {
    // create naive ui
    create,
    // component
    NButton,
    NConfigProvider,
    zhCN,
    dateZhCN,
    NSpace,
    NInput
  } from 'naive-ui'
  
  const naive = create({
    components: [NButton, NConfigProvider, zhCN, dateZhCN, NSpace, NInput]
  })
import "tailwindcss/tailwind.css"
import './index.css'

createApp(App).use(store).use(router).use(naive).mount('#app')

console.log('process.env.BASE_URL', process.env.BASE_URL)
console.log('process.env.VUE_APP_SECRET', process.env.VUE_APP_SECRET)
console.log('process.env.VUE_APP_BASE_URL', process.env.VUE_APP_BASE_URL)
console.log('process.env.VUE_APP_TITLE', process.env.VUE_APP_TITLE)
console.log('process.env.NODE_ENV', process.env.NODE_ENV)
